package team.zero.lemon.module.workflow.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.workflow.entity.Workitem;

import java.util.List;

@MyBatisDao
public interface IWorkitemDao extends ICrudDao<Workitem> {
    List<Workitem> findtodoPage(Workitem workitem);

    List<Workitem> findWorkitemByInstanceId(Integer instanceId);
}